package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsOrganizationDaoImpl;
import com.educate.upms.model.bo.UpmsOrganizationBO;
import com.educate.upms.model.po.UpmsOrganization;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsOrganizationDao extends MongoRepository<UpmsOrganization, String> {

    /**
     * #{@link UpmsOrganizationDaoImpl#query(UpmsOrganizationBO, Pageable)}
     */
    Page<UpmsOrganization> query(UpmsOrganizationBO bo, Pageable pageable);
}
